import { $get, $post } from "@/http/request"

export function getKnowledgeList(params) {
  return $get("/blog/knowledge/list", params)
}

export function postKnowledgeCreate(params) {
  return $post("/blog/Knowledge/create", params)
}

export function postKnowledgeSearch(params) {
  return $post("/blog/Knowledge/search", params)
}

export function postKnowledgeUpdate(params) {
  return $post("/blog/Knowledge/update", params)
}

export function postKnowledgeDelete(params) {
  return $post("/blog/Knowledge/delete", params)
}